<template>
    <div class="App">
      <el-container>
      <el-header>
        <HospitalTop />
      </el-header>
      <el-main>
        <div class="content">
        <router-view></router-view>
      </div>
      </el-main>
    </el-container>
    <!-- 登录组件 -->
    <Login />
    </div>
</template>

<script setup lang="ts">
</script>

<style lang="less" scoped>
.App{
  display: flex;
  flex-direction: column;
  align-items: center;
  .el-header {
        position: relative;
        width: 100%;
        height: 70px;      
    }
  .el-main {
  position: absolute;
  top: 70px;
  bottom: 0;
  overflow-y: scroll;
  }
  .content{
    /* margin-top: 70px; */
    width: 1200px;
    min-height: 700px;
  }
}
</style>
